// for every option in this category
for(let optionId in param.options) {
  // determine option value, e.g. optionId = 'olives', option = { label: 'Olives', price: 2, default: true }
  const option = param.options[optionId];
  console.log(optionId, option);

  // check if there is param with a name of paramId in formData and if it includes optionId
  if(formData[paramId] && formData[paramId].includes(optionId)) {
    // check if the option is not default
    if(????) {
      // add option price to price variable
    }
  } else {
    // check if the option is default
    if(????) {
      // reduce price variable
    }
  }

}